package simulaco.dao;

import gminet.infra.dao.Filter;

public class ConcursoFilter extends Filter {

    private static final long serialVersionUID = 1253389663522749305L;

    private int idOrgao;

    private int idInstituicao;

    private int idNivel;

    private int idCargo;

    public ConcursoFilter() {
        super();
    }

    public boolean hasCodigoOrgao() {
        return getCodigoOrgao() > 0;
    }

    public int getCodigoOrgao() {
        return idOrgao;
    }

    public void setCodigoOrgao(int idOrgao) {
        this.idOrgao = idOrgao;
    }

    public boolean hasCodigoInstituicao() {
        return getCodigoInstituicao() > 0;
    }

    public int getCodigoInstituicao() {
        return idInstituicao;
    }

    public void setCodigoInstituicao(int idInstituicao) {
        this.idInstituicao = idInstituicao;
    }

    public boolean hasCodigoNivel() {
        return getCodigoNivel() > 0;
    }

    public int getCodigoNivel() {
        return idNivel;
    }

    public void setCodigoNivel(int idNivel) {
        this.idNivel = idNivel;
    }

    public boolean hasCodigoCargo() {
        return getCodigoCargo() > 0;
    }

    public int getCodigoCargo() {
        return idCargo;
    }

    public void setCodigoCargo(int idCargo) {
        this.idCargo = idCargo;
    }

}
